package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 待审批对象 dsp
 * 
 * @author ruoyi
 * @date 2024-01-05
 */
public class Dsp extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 员工编号 */
    private Long id;

    /** 申请人 */
    @Excel(name = "申请人")
    private String sqname;

    /** 申请原因 */
    @Excel(name = "申请原因")
    private String sqyy;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date sqsj;

    /** 申请状态 */
    @Excel(name = "申请状态")
    private Long status;

    /** 审批人 */
    @Excel(name = "审批人")
    private String sqr;

    /** 审批时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审批时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date sqtime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSqname(String sqname) 
    {
        this.sqname = sqname;
    }

    public String getSqname() 
    {
        return sqname;
    }
    public void setSqyy(String sqyy) 
    {
        this.sqyy = sqyy;
    }

    public String getSqyy() 
    {
        return sqyy;
    }
    public void setSqsj(Date sqsj) 
    {
        this.sqsj = sqsj;
    }

    public Date getSqsj() 
    {
        return sqsj;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setSqr(String sqr) 
    {
        this.sqr = sqr;
    }

    public String getSqr() 
    {
        return sqr;
    }
    public void setSqtime(Date sqtime) 
    {
        this.sqtime = sqtime;
    }

    public Date getSqtime() 
    {
        return sqtime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sqname", getSqname())
            .append("sqyy", getSqyy())
            .append("sqsj", getSqsj())
            .append("status", getStatus())
            .append("sqr", getSqr())
            .append("sqtime", getSqtime())
            .toString();
    }
}
